package org.wmq.travelagency02.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.wmq.travelagency02.model.DTO.HistoryGroupMessageQueryDTO;
import org.wmq.travelagency02.model.Entity.GroupMessage;

public interface GroupMessageService extends IService<GroupMessage> {
    Page<GroupMessage> getHistoryMessages(HistoryGroupMessageQueryDTO historyGroupMessageQueryDTO);

    Page<GroupMessage> getMessages(Long chatGroupId);
}
